package Chapter2;

import org.junit.Test;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;

/**
 * Created by m.zabarylo on 9/10/2014.
 */
public class WindowMaximize {
    @Test
    public void MaximizeWindow() throws Exception {
        WebDriver driver = new FirefoxDriver();
        driver.get("http://www.google.com");
        driver.manage().window().maximize();
        Thread.sleep(5000);
        driver.quit();
    }
}
